hvm: Allow triple fault to imply crash rather than reboot
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 15 Feb 2013 08:38:45 +0000 (09:38 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 15 Feb 2013 08:38:45 +0000 (09:38 +0100)
commit63a47721ad3f2bbeedf80850728c9a4aff0224ae
treee922f75ef6af8c5c4840d446f05978d7b90d482d
parent59a28b5f045331641cbf0c1fc8d5d67afe328939
hvm: Allow triple fault to imply crash rather than reboot

While the triple fault action on native hardware will result in a system
reset, any modern operating system can and will make use of less violent
reboot methods.  As a result, the most likely cause of a triple fault is a
fatal software bug.

This patch allows the toolstack to indicate that a triple fault should mean a
crash rather than a reboot.  The default of reboot still remains the same.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c
xen/include/public/hvm/params.h
xen/include/public/sched.h